#include"./head.h"

int main(){
    string str;
    cin >> str;
    str = str.erase(1);
    str = str.erase(4);
    string str_new = str.substr(0, 8);
    cout << str_new;

    return 0;
}